function savepublicwater(){
	alert("-----------")
	$("#left-bottom").empty();
	$.ajax({
	   type:"post",
	   url :"../costdataentry2.action",
	   data:{
		   "publicWaterInformation.last_water_amount":$("#p_last_water_amount").val(),
		   "publicWaterInformation.this_water_amount":$("#p_this_water_amount").val(),
		   "publicWaterInformation.last_electricity_amount":$("#p_last_electricity_amount").val(),
		   "publicWaterInformation.this_electricity_amount":$("#p_this_electricity_amount").val(),
		   "publicWaterInformation.people":$("#people").val(),
		   "publicWaterInformation.date":$("#write_date").val() ,   
		   "publicWaterInformation.table_name":$("#table_name").val() ,   
		   "publicWaterInformation.table_number":$("#table_number").val() ,   
	   },
	   dataType:"json",
	   success:function(data){
			if(data=="true"){
				alert("录入成功！");
				window.location.href="costdataentry.jsp";
			}       
	   },
	   error:function(){
		   alert("失败");
	   }
	});	
	
}